import {createRouter, createWebHistory} from 'vue-router'


const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            redirect: '/login',
        },
        {
            path: '/login',
            component: () => import('../views/Login.vue'),
        },
        {
            path: '/user',
            component: () => import('../views/User.vue'),
        }
    ]

})

export default router